#define _CRT_SECURE_NO_WARNINGS 1

#include <iostream>
#include <string>
#include "string.h"

void test2()
{
	//std::string name("haha");
	//
	//std::string& get = name.insert(0, "666");

	//std::cout << get << std::endl;

	//name.erase(5, 3);

	//std::cout << name << std::endl;

	//std::cin >> name;

	//std::cout << name << std::endl;

	std::string a;

	//char buf[2] = { 'h', 'a' };

	//std::cin >> buf;

	//a += buf;

	std::cout << a << std::endl;

}

void test1()
{
	//my::string name("hah");

	//name += '6';

	//my::string name1("haha666666");

	//std::cout << name << std::endl;

	////name1.insert(0);
	//name1.erase(1, 8);

	//std::cout << name1 << std::endl;

	////std::cout << name1.size() << std::endl;

	//my::string a = "hahahahah";

	//std::cout << a << std::endl;

	////a += "666555444";
	//a.append("666555444");

	//std::cout << a << std::endl;

	my::string a = "666";

	a = a;

	//a.pop_back();

	//a.push_back('7');

	//std::cout << a << std::endl;
}

int main()
{
	test1();
	//test2();

	return 0;
}
